from django.db import models

# Create your models here.
class StudentModel(models.Model):
    name = models.CharField(max_length=30)
    age = models.IntegerField(default=18)
    def __str__(self):
        return self.name
    class Meta():
        db_table = 'stu'